Package-level declarations

Types

Link copied to clipboard

Carbon design system semantics properties. They follow the same principles as the ones from androidx.compose.ui.semantics.SemanticsProperties.

Functions

Link copied to clipboard

Asserts that the node is read-only.

Link copied to clipboard

Returns whether the node is read-only and checks the following:

Link copied to clipboard

Whether the node is read-only.

fun Modifier.readOnly(role: Role?, interactionSource: MutableInteractionSource, state: ToggleableState? = null, mergeDescendants: Boolean = false): Modifier
fun Modifier.readOnly(role: Role?, interactionSource: MutableInteractionSource, selected: Boolean, mergeDescendants: Boolean = false): Modifier

Configures a component to be stated as "read-only".